package com.xja.boke.service;

import com.xja.boke.entity.User;

public interface UserService {
    /**
     * 登录 根据名字查询
     * @return
     */
    User selectByName(String username);

    /**
     * 注册
     * @param user
     * @return
     */
    int insertSelective(User user);
}
